angular.module('app').controller('i18ndemoController',['$scope','$translate' , function($scope,$translate) {
    $scope.changeLanguage = function (langKey) {
         $translate.use(langKey);
    }; 
}]);